package com.example.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.PageUtils;
import com.example.ware.entity.WareSkuEntity;
import com.example.ware.vo.SkuHasStockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author lj
 * @email 980142391@qq.com
 * @date 2023-02-07 20:46:03
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    List<SkuHasStockVo> getSkuHasStock(List<Long> skuIds);

    PageUtils queryPage(Map<String, Object> params);

    void addStock(Long skuId, Long wareId, Integer skuNum);
}

